package com.example.yoho.mvp.contract;

import com.example.lib_core.mvp.model.IModel;
import com.example.lib_core.mvp.view.IView;
import com.example.yoho.mvp.model.entity.LoginEntity;

import io.reactivex.Observable;

public interface LoginContract {
    interface Model extends IModel{
        Observable<LoginEntity> loginModel(String request);
    }
    interface View extends IView{
        void showLogin(LoginEntity loginEntity);
    }
}
